public class list {
    public static void main(String[] args){
        String s = "123:125";
        System.out.println(s.split(",").length);
    }
}
